#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main() {
	int i, count = 0;
	for (i = 100; i <= 200; i++) 
	{
		int j = 0;
		int flag = 1;
		for (j = 2; j <=i-1; j++)
		{
			if(i%j==0)
			{
				flag = 0;
				break;
			}
			
		}
		if (flag == 1)
		{
			printf("%d ", i);
			count++;
		}

	}
	
	return 0;
}